const  getData = ()=> {
    return new Promise((solve, reject) => {
        wx.request({
            url: 'https://api.inews.qq.com/newsqa/v1/query/inner/publish/modules/list?modules=statisGradeCityDetail,diseaseh5Shelf ',
            success: (r) => {
                // 返回的位
                solve(r.data.data.diseaseh5Shelf.areaTree[0].children)

            },
            fail:()=>{
                wx.showToast({
                  title: '网络发生错误，请联系管理员',
                })
            }
        })
    })

}
module.exports ={
    getData,


}